﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace EnCor.Logging
{
    public class LoggingConfig : ConfigurationElement
    {
        private const string STR_Appenders = "appenders";
        private const string STR_Loggers = "loggers";

        [ConfigurationProperty(STR_Appenders)]
        public AppenderConfigCollection Appenders
        {
            get
            {
                return (AppenderConfigCollection)this[STR_Appenders];
            }
        }

        [ConfigurationProperty(STR_Loggers)]
        public LoggerConfigCollection Loggers
        {
            get
            {
                return (LoggerConfigCollection)this[STR_Loggers];
            }
        }


    }
}
